Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface System.​IEquatable<​T>

Assembly: System.Runtime

Defines a generalized method that a value type or class implements to create a type-specific method for determining equality of instances.

Methods

bool
Equals​(T other)
Indicates whether the current object is equal to another object of the same type.
Returns <see langword="true" /> if the current object is equal to the <paramref name="other" /> parameter; otherwise, <see langword="false" /> .
other An object to compare with this object.